<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>布尔类型</title>
		<script>
			var bool=true;
			console.log(bool);       //输出一个true
			console.log(typeof bool);//返回boolean
		</script>
	</head>
	<body>
	</body>
</html>
